Post

Replies

Boosts

Views

Activity

Comment on Xcode 16.3, an error is occurring in the String Catalog.
If the string is in the format %1$#@VARIABLE@, but argNum is set to 2 — I believe this is a clear contradiction. To prevent issues like this, how about removing the argNum field entirely from the String Catalog? In my opinion, since plural variables already have either explicit or implicit indexes within the string, it might be possible to omit argNum altogether.
Apr ’25
Comment on Xcode 16.3, an error is occurring in the String Catalog.
Hello. Thanks for the explanation. I checked the Attributes inspector, but the Argument Number field isn’t visible. I think this happens when a stringsdict is migrated to xcstrings. (It does appear for items built with LocalizedStringResource("key_1", defaultValue: "%lf %ld").) I fixed it by manually editing the JSON to add argNum, or by changing %arg to %2$ld. Is the missing field in such cases intentional?
Apr ’25
Comment on Xcode 16.3, an error is occurring in the String Catalog.
If the string is in the format %1$#@VARIABLE@, but argNum is set to 2 — I believe this is a clear contradiction. To prevent issues like this, how about removing the argNum field entirely from the String Catalog? In my opinion, since plural variables already have either explicit or implicit indexes within the string, it might be possible to omit argNum altogether.
Replies
Boosts
Views
Activity
Apr ’25
Comment on Xcode 16.3, an error is occurring in the String Catalog.
Hello. Thanks for the explanation. I checked the Attributes inspector, but the Argument Number field isn’t visible. I think this happens when a stringsdict is migrated to xcstrings. (It does appear for items built with LocalizedStringResource("key_1", defaultValue: "%lf %ld").) I fixed it by manually editing the JSON to add argNum, or by changing %arg to %2$ld. Is the missing field in such cases intentional?
Replies
Boosts
Views
Activity
Apr ’25
Comment on Nested TimelineView and List cause hang issue
This is just simplified code to aid understanding. The actual app contains more complex views, and both TimelineViews are absolutely necessary.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’24
Comment on DismissAction is not working properly.
I already know that approach. I wanted to use DismissAction, but it seems Binding is the only solution. Thank you for your response.
Topic: UI Frameworks SubTopic: SwiftUI
Replies
Boosts
Views
Activity
Jul ’24